package com.wsd.bookkeeping.service.impl;

import com.wsd.bookkeeping.mapper.BookUserMapper;
import com.wsd.bookkeeping.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private BookUserMapper bookUserMapper;

    @Override
    public boolean removeBookUser(Integer id) {
        return bookUserMapper.removeBookUserById(id) > 0;
    }
}
